RolesExist

Description

This business rule is used primarily to validate whether the specified role codes exist on the policy or not.  Apart from that, this business rule is used to verify whether certain fields are empty or not and to process the validations for the specified roles.

RolesExist Element/Attribute Table

Element/Tag

Definition

Attribute

Element/Attribute Value and Description

<RolesExist>

The opening and closing tag for the business rule.

 

This rule  is generally attached to the following transactions:
AdditionalPayment, AddPay, AddPayAAB, Annuitization, AnnuityPayment, AnnuityPaymentDueUnpaid, AutoPay, Commission, CoverageCalculation, Disbursement, DisbursementDueUnpaid, Issue, PolicyApproval, Withdrawal.
 

Processing these transactions performs the validations on this business rule.

    <Role>

Required element;
Opening tag of the role section.

 

 

       <RoleCode>

Required element;
Defines the role codes to verify if these role codes exists on the policy.

 

Required Value;
Code:
RoleCode (As defined in AsCode table=>AsCodeRole).

        <FieldsExist>

Optional element;
<FieldsExist> tag is used to ensure that certain required fields are filled in when the transaction is run.

 

 

            <Field>

Required element;
Defines the field to verify if the field value exists on the Client screen of the client that is assigned to the specified role code.

 

Required value;
String:
Field name on the Client screen.

GROUP

Required attribute;
String:
Client, Role. Indicates the table/screen that stores the field being referenced.

DISPLAY

Required attribute;
String:
Display name of the field.

 

 XML Example

<RolesExist>

    <Role>

        <RoleCode>01</RoleCode>

        <FieldsExist>

            <Field GROUP="Client" DISPLAY="SSN/TIN">TaxID</Field>

            <Field GROUP="Client" DISPLAY="DOB">DateOfBirth</Field>

        </FieldsExist>

    </Role>

    <Role>

        <RoleCode>23</RoleCode>

    </Role>

    <Role>

        <RoleCode>37</RoleCode>

    </Role>

    <Role>

        <RoleCode>82</RoleCode>

    </Role>

</RolesExist>

 

 Schema Example

<RolesExist>

    <Role>

        <RoleCode/>

        <FieldsExist>

            <Field GROUP="" DISPLAY=""/>

            <Field GROUP="" DISPLAY=""/>

        </FieldsExist>

    </Role>

    <Role>

        <RoleCode/>

    </Role>

    <Role>

        <RoleCode/>

    </Role>

    <Role>

        <RoleCode/>

    </Role>

</RolesExist>